import request from '@/utils/request'
export const getArticleAPI = (pageNum, page) => {
    return request.get('/article', {
        params: { pageNum, page }
    })
}
export const delArticleAPI = (id) => {
    return request.delete('/article/del', {
        params: { id }
    })
}